home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2000 February / Macworld (2000-02).dmg / Shareware World / Comms & Internet / Flex-Able 1.0 / FADocs / upload.able < prev    next >
Text File  |  1999-12-07  |  744b  |  37 lines

  1. <:set_upload_directory "/TempFiles">
  2. <:set form <:read_form>>
  3.  
  4. <html>
  5.     <head>
  6.         <link rel=stylesheet type="text/css" HREF="fa.css">
  7.         <title>Flex-Able: Upload Test</title>
  8.     </head>
  9. <body>
  10.  
  11. <DIV CLASS="topic">Upload Test</DIV>
  12. <p><br>
  13. <p><br>
  14. <h2>The field values are:</h2>
  15.  
  16. <ul>
  17. <:foreach name value form>
  18.     <:echo "<b>" name "</b>:" value " (" <:type_of value> ") <br>" >
  19. <:/foreach>
  20. </ul>
  21. <P>
  22.  
  23. <h2>Dealing with files...</h2>
  24. <ul>
  25.     <:set newFile <:cat "subdir/" form["subfile"] > >
  26.     Deleting "<:echo newFile>".... <:delete_file newFile><P>
  27.     
  28.     Moving "<:echo form["first file"]>" to "<:echo newFile>"... 
  29.     <:copy_file form["first file"] newFile ><P>
  30.     
  31. </ul>
  32.  
  33. <hr>
  34. <A HREF="quickstart.html" CLASS="back">back to Quick Start</A> 
  35. </body>
  36. </html> 
  37.